package cn.itcast.java.thread;

/**
 * Author itcast
 * Date 2021/10/14 17:10
 * Desc TODO
 */
public class TicketDemo01 {
    public static void main(String[] args) {

        Ticket saleTicket = new Ticket();
        //执行线程
        new Thread(saleTicket).start();
        new Thread(saleTicket).start();
        new Thread(saleTicket).start();
    }
}
